package design.a1_factory.simple;

import design.a1_factory.simple.book.Book;

/**
 * 简单工厂
 */
public class SimpleFactoryTest {

	public static void main(String[] args) {
		Book math = SimpleFactory.create("math");
		math.read();

		Book english = SimpleFactory.create("english");
		english.read();
	}

}
